queue data structures in python